home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr49
/
273_01.zip
/
UPCASE.CC
< prev
next >
Wrap
Text File
|
1993-04-04
|
222b
|
11 lines
#include <ctype.h>
upcase(char *str)
/* This will convert the string pointed to by *str to uppercase */
{
while (*str) {
if (islower(*str))
*str = toupper(*str);
str++; }
return(0);
}